import $http from '@/http/http'

const baseURL = '/chain'

export const newAccount = data => {
    return $http.post(baseURL + '/newAccount', data)
}

export const getAccounts = data => {
    return $http.post(baseURL + '/getAccounts', data)
}